<blockquote class="layui-elem-quote quoteBox">
    <style>
        .search-form .layui-input-inline {
            margin: 5px 0;
        }
    </style>
    <form class="layui-form search-form" method="get">
        <div class="layui-inline">
            {volist name="indexList.searchItem" id="vo"}
            {switch name="vo.type"}
            {case value="range"}
            <div class="layui-input-inline">
                <input name="{$vo.name}-{$vo.type}" type="text" class="layui-input" id="search_daterange"
                       placeholder="{$vo.title}" lay-key="1">
            </div>
            {/case}
            {case value="text"}
            <div class="layui-input-inline">
                <input style="width: 300px;" name="{$vo.name}-{$vo.type}" type="text" class="layui-input searchVal"
                       placeholder="{$vo.title}" id="search_text-{$vo.name}">
            </div>
            {/case}
            {case value="select"}
            <div class="layui-input-inline">
                <select name="{$vo.name}-{$vo.type}" class="search_select">
                    <option value="">{$vo.title}</option>
                    {volist name="vo.options" id="v"}
                    <option value="{$key}">{$v}</option>
                    {/volist}
                </select>
            </div>
            {/case}
            {case value="between"}
            <div class="layui-input-inline">
                <input type="hidden" id="unit" value="{$vo.unit}">
                <input type="hidden" id="title" value="{$vo.title}">
                <div style="display: flex">
                    <label class="layui-form-label" style="margin-left: -60px !important;">{$vo.title}</label>
                    <input style="width: 100px;" name="{$vo.name}-{$vo.type}-min" type="number"
                           class="layui-input betweenVal"
                           placeholder="">
                    <div class="layui-form-mid">-</div>
                    <input style="width: 100px;" name="{$vo.name}-{$vo.type}-max" type="number"
                           class="layui-input betweenVal"
                           placeholder="">
                </div>
            </div>
            {/case}
            {/switch}
            {/volist}
            <a class="layui-btn search_btn" data-type="reload">搜索</a>
            <a class="layui-btn layui-btn-danger clean_btn" data-type="reload">清空搜索条件</a>
        </div>

    </form>
</blockquote>
